<?php
class Resetmd extends Model {
	function Reset() {
		parent::Model();
	}
	function cekUsername($username,$email) {
		$this->db->select('*');
		$this->db->from('user');
		$this->db->where('name',$username);
		$this->db->where('email',$email);
		
		return $this->db->get();
	}
	function upPassword($name,$b) {
		$this->db->where('name',$name);
		$this->db->update('user',$b);
	}
} 
?>